package com.dapao.dijkstra.model;

/**
 * @author DuHan on 2022/2/10
 * @version 1.0
 */
public class ArgModel {
    // 所在位置名称
    private String fname;
    // 去往位置名称
    private String tname;
    // 距离
    private int arg;

    public String getFname() {
        return fname;
    }

    public void setFname(String fname) {
        this.fname = fname;
    }

    public String getTname() {
        return tname;
    }

    public void setTname(String tname) {
        this.tname = tname;
    }

    public int getArg() {
        return arg;
    }

    public void setArg(int arg) {
        this.arg = arg;
    }

    public ArgModel() {
    }

    public ArgModel(String fname, String tname, int arg) {
        this.fname = fname;
        this.tname = tname;
        this.arg = arg;
    }
}
